/**
 *                        .::::.
 *                      .::::::::.
 *                     :::::::::::
 *                  ..:::::::::::'
 *               '::::::::::::'
 *                 .::::::::::
 *            '::::::::::::::..
 *                 ..::::::::::::.
 *               ``::::::::::::::::
 *                ::::``:::::::::'        .:::.
 *               ::::'   ':::::'       .::::::::.
 *             .::::'      ::::     .:::::::'::::.
 *            .:::'       :::::  .:::::::::' ':::::.
 *           .::'        :::::.:::::::::'      ':::::.
 *          .::'         ::::::::::::::'         ``::::.
 *      ...:::           ::::::::::::'              ``::.
 *     ````':.          ':::::::::'                  ::::..
 *                        '.:::::'                    ':'````..
 * 
 * ----------------------
 * |
 * |  加载集成插件和依赖
 * |
 * ----------------------
 */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import api from '@/plugins/api'

Vue.prototype.$api = api;

/**
 * ----------------------
 * |
 * |  加载 / 基础样式文件
 * |
 * ----------------------
 */
import '@/assets/css/baseStyle.css'

/**
 * ----------------------
 * |
 * |  加载less
 * |
 * ----------------------
 */
import less from 'less'
Vue.use(less)


/**
 * ----------------------
 * |
 * |  加载UI框架 vant(移动)  element(PC)
 * |
 * ----------------------
 */
import '@/plugins/vant.js'
import '@/plugins/element.js'


/**
 * ----------------------
 * |
 * |  加载Vuescroll.js 滚动条
 * |
 * ----------------------
 */
import '@/plugins/vuescroll'


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
